﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


namespace RadowCore.Models
{
    public class PGEdge : ICloneable
    {
        private PGNode m_targetNode;

        public PGNode TargetNode
        {
            get { return m_targetNode; }
            set { m_targetNode = value; }
        }
        private string m_value;

        public string Value
        {
            get { return m_value; }
            set { m_value = value; }
        }

        public PGEdge(PGNode _targetNode, string _value)
        {
            TargetNode = _targetNode;
            Value = _value;
        }
        public Object Clone()
        {
            return new PGEdge {Value = this.Value, TargetNode = (PGNode) this.TargetNode.Clone() };        
        }
        public PGEdge()
        {
            // TODO: Complete member initialization
        }
    }
}
